Skip to content

Conversation

dantasswift
Copy link

Because updateViewController() is being called before the previewLayer is added to the view, we get an issue where the manual capture buttons disappear on load.

To fix it, we only bring the buttons to the front of the view after the previewLayer is added. Note that we only bring the buttons to front, the visibility of the buttons themselves are still begin handled in showManualCaptureButton() and showManualSelectButton() respectively.

@dantasswift dantasswift changed the title Fix issue capture and select buttons disappearing on load Fix issue manual capture and select buttons disappearing on load Jun 12, 2024
@dantasswift dantasswift changed the title Fix issue manual capture and select buttons disappearing on load Fix issue manual capture and image select buttons disappearing on load Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant